home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
mail
/
pine3.96.tar.gz
/
pine3.96.tar
/
pine3.96
/
pine
/
osdep
/
pw_stuff.dos
< prev
next >
Wrap
Text File
|
1994-06-17
|
1KB
|
44 lines
/*----------------------------------------------------------------------
This collection of routines looks up the login name and password on the
system. For things like PC's it's OK for these to return NULL since there
is no system login. Other code will figure out who the user actually is.
----*/
/* Don't need a gcos_name(), unused. */
#ifdef notdef
static char *
gcos_name(gcos_field, logname)
char *logname, *gcos_field;
{
}
#endif
void
get_user_info(ui)
struct user_info *ui;
{
static char driveb[] = "X:\\";
driveb[0] = '@' + _getdrive();
ui->homedir = cpystr(driveb);
ui->login = cpystr("");
ui->fullname = cpystr("");
}
/*----------------------------------------------------------------------
Look up a userid on the local system and return rfc822 address
Args: name -- possible login name on local system
Result: returns NULL or pointer to malloc'd string rfc822 address.
----*/
char *
local_name_lookup(name)
char *name;
{
return(cpystr(""));
}